package com.hc.pokemen.feature_pokemen.data.remote

import com.hc.pokemen.feature_pokemen.data.model.PokemonListModel
import com.hc.pokemen.feature_pokemen.data.model.PokemonModel
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query

interface PokemonApi {


    @GET("v2/pokemon/{name}")
    suspend fun getPokemonInfo(@Path("name") name: String): PokemonModel


    @GET("v2/pokemon")
    suspend fun getPokemonList(
        @Query("limit") limit: Int,
        @Query("offset") offset: Int
    ): PokemonListModel
}